package com.example.houqin_oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.PersonalEffects;
import com.example.comment_oa.pojos.RepairRecord;
import com.example.comment_oa.pojos.ReplaceRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author liang
* @description 针对表【replace_record】的数据库操作Mapper
* @createDate 2022-10-17 09:55:19
* @Entity com.example.houqin_oa.model.pojos.ReplaceRecord
*/
@Mapper
public interface ReplaceRecordMapper extends BaseMapper<ReplaceRecord> {

    List<ReplaceRecord> AllReplace(ReplaceRecord replaceRecord);

    boolean Change(ReplaceRecord replaceRecord);

    List<ReplaceRecord> RenewalApply(ReplaceRecord replaceRecord);

    int Polling(@Param("repairGoodsNo") String repairGoodsNo,@Param("repairState") int repairState);

    boolean Transposing(ReplaceRecord replaceRecord);

    List<RepairRecord> conAllRepair(@Param("processWhetherAdopt") String processWhetherAdopt ,
                                    @Param("repairState") String repairState);

    Boolean upRepair(RepairRecord repairRecord);
}




